# include<bits/stdc++.h>
using namespace std ;
int t ;
int main(){
    freopen("color.in" , "r" , stdin) ;
    freopen("color.out" , "w" , stdout) ;
cin >> t ;
for ( int i = 1 ; i <= t ; ++ i ){
cout << 0 << endl ;
}

fclose(stdin) ;
fclose(stdout) ;























return 0 ;
}
